<!DOCTYPE html>
<html xmlns:th="http://www.springframework.org/schema/data/jaxb" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="utf-8">
    <title th:text="${companyName}">title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" th:href="@{imgs/favicon.ico}" type="image/x-icon"/>
    <link rel="stylesheet" th:href="@{lib/layui/css/layui.css}" />
    <link rel="stylesheet" th:href="@{css/okadmin.css}" />
    <link rel="stylesheet" th:href="@{font/iconfont.css}" />
    <link rel="stylesheet" th:href="@{lib/nprogress/nprogress.css}" />
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header topregion">
        <div class="layui-logo" th:text="${companyName}"></div>
        <div class="menu-switch">
            <i class="iconfont icon-caidan"></i>
        </div>
        <ul class="layui-nav layui-layout-left">
            <li class="weather">
                <div id="tp-weather-widget"></div>
            </li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="imgs/head.png" class="layui-nav-img">
                    <shiro:principal property="name"></shiro:principal>
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">个人中心<span class="layui-badge-dot"></span></a></dd>
                    <dd><a href="">基本资料</a></dd>
                    <dd><a href="">安全设置</a></dd>
                    <dd><a href="javascript:void(0)" id="lock">锁定账户</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a href="javascript:void(0)" id="logout">退出</a></li>
        </ul>
    </div>
    <!--左侧导航区域-->
    <div class="layui-side layui-bg-black leftregion">
        <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree" lay-shrink="all" lay-filter="" id="menuBox">
            </ul>
        </div>
    </div>
    <!-- 内容主体区域 -->
    <div class="content-body contentregion">
        <div class="layui-tab layui-tab-brief" lay-filter="ok-tab" lay-allowClose="true">
            <ul class="layui-tab-title">
                <li class="layui-this"><i class="layui-icon">&#xe68e;</i> 控制台</li>
            </ul>
            <!-- 鼠标右键菜单 -->
            <div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
                <dl>
                    <dd data-type="this">关闭当前</dd>
                    <dd data-type="other">关闭其它</dd>
                    <dd data-type="all">关闭全部</dd>
                </dl>
            </div>
            <div class="layui-tab-content contentinner">
                <div class="layui-tab-item layui-show">
                    <iframe src='welcome' frameborder="0" scrolling="yes" width="100%" height="100%"></iframe>
                </div>
            </div>
            <div id="tab_show"></div>
        </div>
    </div>
</div>
<div class="yy"></div>
<!--js逻辑-->
<script th:src="@{lib/layui/layui.js}"></script>
<script th:src="@{lib/nprogress/nprogress.js}"></script>
<script th:src="@{index/index.js}"></script>
</body>
</html>
